gdkcontentformats: Change the matching API
authorBenjamin Otte <otte@redhat.com>
Fri, 24 Nov 2017 10:34:19 +0000 (11:34 +0100)
committerBenjamin Otte <otte@redhat.com>
Sun, 3 Dec 2017 04:46:47 +0000 (05:46 +0100)
commit7426f1a16b7cbc14cbc453852f883a20d2575000
tree5a9d044da04bb42753158c0071b86dcfcb94fd46
parent25c389583632f4b0ea408457fb777475819989bd
gdkcontentformats: Change the matching API

Instead of having just one function that has the gtype and mime type as
out arguments, have 3 functions: 1 that finds any match, 1 that finds a
GType match and one for a mime type match.

This makes the API way more convenient to use.
docs/reference/gdk/gdk4-sections.txt
gdk/gdkclipboard.c
gdk/gdkcontentformats.c
gdk/gdkcontentformats.h
gtk/gtkdragdest.c
gtk/gtkdragdest.h
tests/testdnd.c